package com.onesports.intelligent.k12.polarlight.domain.dto.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author: HUANG GY.
 * @Date: 2021/2/5 17:02
 * @Description: com.onesports.whds.sszh.domain.role.sys
 */
@Data
@ApiModel("获取资源管理")
public class InfoManagementDTO {

    @ApiModelProperty(value = "资讯id")
    private String id;

    @ApiModelProperty(value = "分类id",required = true)
    @NotBlank(message = "请选择资讯分类")
    private String infoClassifyId;

    @ApiModelProperty(value = "咨讯标题",required = true)
    @NotBlank(message = "请输入资讯标题")
    private String infoTitle;

    @ApiModelProperty(value = "图片",required = true)
    @NotBlank(message = "请上传资讯图片")
    private String infoImg;

    @ApiModelProperty(value = "咨讯内容",required = true)
    @NotBlank(message = "请输入资讯内容")
    private String infoContent;

    @ApiModelProperty(value = "状态")
    private Boolean status;

    @ApiModelProperty(value = "机构id", hidden = true)
    private String organizationId;

}
